package com.example.design.demo.clone;

/**
 * @author lfj
 * @date 2023/11/30 16:20
 * @description 原型模式测试类中类
 */
public class TestPrototype implements Cloneable{

    private String testId;
    private String testName;

    public String getTestId() {
        return testId;
    }

    public void setTestId(String testId) {
        this.testId = testId;
    }

    public String getTestName() {
        return testName;
    }

    public void setTestName(String testName) {
        this.testName = testName;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
